#ifndef STARTWIDGET_H
#define STARTWIDGET_H
#include <QWidget>
#include <QPushButton>
#include <QLabel>
#include <QVBoxLayout>
#include <QHBoxLayout>
class startwidget: public QWidget
{
    Q_OBJECT
public:
    explicit startwidget(QWidget *parent = nullptr);
    ~startwidget();

private:
    QPushButton *startButton;
    QPushButton *closeButton;
    QLabel *backgroundLabel;
    void setupUI();
    void setupConnections();

signals:
    void startGame();

private slots:
    void onStartButtonClicked();
    void onCloseButtonClicked();
};

#endif // STARTWIDGET_H
